package cn.leelei.spring;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

import cn.leelei.spring.Advice.LoggerConfig;

@Configuration
@EnableAspectJAutoProxy
@ComponentScan(basePackages="cn.leelei.spring.service.impl")
public class Application {
	@Bean
	public LoggerConfig loggerConfig(){
		return new LoggerConfig();
		
	}

}
